package org.standard.message.model;

import java.util.Date;

/**
 * Message entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Message implements java.io.Serializable {

	// Fields

	private String id;
	private String sendUserId;
	private String sendUserName;
	private String receiveUserId;
	private String receiveUserName;
	private String theme;
	private String content;
	private Date date;
	private String sendStatus;

	// Constructors

	/** default constructor */
	public Message() {
	}

	/** minimal constructor */
	public Message(String sendUserName, String receiveUserName, String theme) {
		this.sendUserName = sendUserName;
		this.receiveUserName = receiveUserName;
		this.theme = theme;
	}

	/** full constructor */
	public Message(String sendUserId, String sendUserName,
			String receiveUserId, String receiveUserName, String theme,
			String content, Date date, String sendStatus) {
		this.sendUserId = sendUserId;
		this.sendUserName = sendUserName;
		this.receiveUserId = receiveUserId;
		this.receiveUserName = receiveUserName;
		this.theme = theme;
		this.content = content;
		this.date = date;
		this.sendStatus = sendStatus;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSendUserId() {
		return this.sendUserId;
	}

	public void setSendUserId(String sendUserId) {
		this.sendUserId = sendUserId;
	}

	public String getSendUserName() {
		return this.sendUserName;
	}

	public void setSendUserName(String sendUserName) {
		this.sendUserName = sendUserName;
	}

	public String getReceiveUserId() {
		return this.receiveUserId;
	}

	public void setReceiveUserId(String receiveUserId) {
		this.receiveUserId = receiveUserId;
	}

	public String getReceiveUserName() {
		return this.receiveUserName;
	}

	public void setReceiveUserName(String receiveUserName) {
		this.receiveUserName = receiveUserName;
	}

	public String getTheme() {
		return this.theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getSendStatus() {
		return this.sendStatus;
	}

	public void setSendStatus(String sendStatus) {
		this.sendStatus = sendStatus;
	}

}